package cn.hy.face.mqtt;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * mqtt配置
 */
@ConfigurationProperties(prefix = "com.mqtt")
@Component
public class MqttProperties {
    private MqttOutboundProperties outbound = new MqttOutboundProperties();
    public MqttOutboundProperties getOutbound() {
        return outbound;
    }
    public void setOutbound(MqttOutboundProperties outbound) {
        this.outbound = outbound;
    }
}